package com.mqz.zebraEcommerce.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mqz.zebraEcommerce.commodity.vo.AttrGroupAndAttrsVO;
import com.mqz.zebraEcommerce.common.utils.PageUtils;
import com.mqz.zebraEcommerce.commodity.entity.AttrGroupEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品属性分组
 *
 * @author mqz
 * @email 952905931@qq.com
 * @date 2025-03-02 16:48:14
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long categoryId);

    //根据categoryId返回attrGroupAndAttrVO
    List<AttrGroupAndAttrsVO> getAttrGroupAndAttrsVOByCategoryId(Long categoryId);
}

